package cn.twh.wall.beetl.function;

import org.beetl.core.Context;
import org.beetl.core.Function;

/**
 * 获取缓存数据
 *
 * @author TWH
 */
public class GetCacheValue implements Function {
    @Override
    public Object call(Object[] paras, Context ctx) {
        return Cache.getDataCache(String.valueOf(paras[0]));
    }
}
